package com.zimi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zimi.model.SysOrgPostPair;
import com.zimi.model.SysPostPrivilege;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 岗位功能授权表 mapper
 *
 * @author lnintr
 * @since 2019-05-22
 */
@Mapper
public interface SysPostPrivilegeMapper extends BaseMapper<SysPostPrivilege> {
    List<SysPostPrivilege> selectListForUpdate(SysOrgPostPair sysOrgPostPair);

    List<SysPostPrivilege> selectPrivilegeByUser(int userId);
}
